#ifndef SOUNDMANAGER_H
#define SOUNDMANAGER_H

#include <SFML/Audio.hpp>
#include <qmap.h>
#include <qstring.h>

class SoundManager
{
public:
    //Singleton that manages the images
    static SoundManager& getInstance();

    ~SoundManager();

    void printPaths() const;

    const sf::SoundBuffer& getSoundBuffer(const QString& soundPath);


private:
    //The ImageManager must be created using getInstance() as it's a singleton
    SoundManager();

    QMap<QString, sf::SoundBuffer> m_sounds;
};

#endif // SOUNDMANAGER_H
